#!/usr/bin/env sh


brightness="100\n80\n60\n40\n20"

value=$(echo $brightness | menu -p "Brightness:")

[ -z "${value}" ] && exit

notify-send "Setting brightness to $value"
sudo light -S "${value}"
